/**
 * view-design
 * 覆盖view-design一些组件的默认样式
 */

/* update: i-link如果有多个，增加右测距离 */
.i-link {
  &:not(:last-child) {
    margin-right: 5px;
  }
}

/* fix: 修复ivu alert的icon图标不垂直居中问题 */
.ivu-alert .ivu-alert-icon {
  top: auto;
  bottom: auto;
  margin: auto;
}

/* update: 所有的close关闭图标重新定义样式 */
.ivu-icon.ivu-icon-ios-close {
  transition: all 0.2s !important;
  border-radius: 4px;
  &:hover {
    background: #f3f3f3;
  }
  &:active {
    background: #e7e7e7;
  }
}
.ivu-row-flex-middle {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}
.ivu-row-flex,.ivu-row-flex:after,.ivu-row-flex:before {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}
.ivu-menu,.ivu-menu-item {
    font-size: 14px
}
.ivu-menu-horizontal .ivu-menu-item,.ivu-menu-horizontal .ivu-menu-submenu {
    float: left;
    padding: 0 10px;
    position: relative;
    cursor: pointer;
    z-index: 3;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out
}
